package com.site.wisdom_construction.service.userAuthorityModule;

import com.site.wisdom_construction.dao.userAuthorityModule.ProjectRoleDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2021/12/28
 * @Description
 */
@Service
public class ProjectRoleService implements ProjectRoleDao {
    @Autowired
    private ProjectRoleDao projectRoleDao;


    @Override
    public int insertProjectRole(Map map) {
        return projectRoleDao.insertProjectRole(map);
    }

    @Override
    public int deleteProjectRole(Map map) {
        return projectRoleDao.deleteProjectRole(map);
    }

    @Override
    public List<Integer> findProjectRoleByProjectId(Map map) {
        return projectRoleDao.findProjectRoleByProjectId(map);
    }
}
